@extends('layout.master')
@section('title', '后台管理系统')
@section('content')
<style>
.easyui-tabs .tabs-panels > .panel > .panel-body {overflow: hidden;}
p {margin: 0;line-height: 20px}
.lmsg1, .lmsg2 {display: block;line-height: 30px}
.msginfo {float: right;margin-right: 10px;}
.box {height: 30px;line-height: 30px;margin-bottom: 10px;}
.mmk {width: 78%;height: 30px;line-height: 30px;color: black}
</style>
<body class="easyui-layout">
<div data-options="region:'north',border:false" style="height:60px;background:#0d87cc;">
    <span style="margin:0;line-height:60px;font-size:18px;margin-left:10px;display: inline-block;color:white">后台管理中心</span>
    <div class="msginfo">
        <div class="lmsg1">
            <a href="{{route('loginout')}}" class="lmsg1" style="color: black;font-weight: bold">退出登录</a>

            <span style="color: black;font-weight: bold">当前登录账户为:{{ Session::get('mgname') }}</span>
            {{-- <span style="color: black;font-weight: bold"><a href="#" onclick="$api.editpwd()">修改密码</a></span> --}}
            <span></span>
        </div>
    </div>
    <input type="hidden" value={$admin_id} class="aid">
    <!--修改密码弹窗-->
    <div id="w" class="easyui-window" title="密码修改" data-options="iconCls:'icon-edit',closed:true"
         style="width:500px;height:200px;padding:10px;">
        <form id="form2">
            <table style="width: 100%;" id="table">
                <tr>
                    <td style="width: 20%;text-align: center">输入密码：</td>
                    <td style="width: 80%;"><input class="easyui-textbox ysmm"  name="ysmm"  style="width:100%;height:32px"></td>
                </tr>
                <tr>
                    <td style="width: 20%;text-align: center">确认密码：</td>
                    <td style="width: 80%;"><input class="easyui-textbox xmm"  name="xmm"  style="width:100%;height:32px" ></td>
                </tr>
                <input type="hidden" value="2">
                <tr><td colspan="2" style="text-align: center"><a href="#" class="easyui-linkbutton" iconCls="icon-save" onclick="$api.saveeditpwd()">确定</a></td></tr>
            </table>
        </form>
    </div>
</div>
<div data-options="region:'west',split:true,title:'权限目录'" style="width:200px;overflow-x: hidden">
    <div class="easyui-panel" data-options="fit:true,border:false">
        <ul class="easyui-tree" id="tt"></ul>
    </div>
</div>
<div data-options="region:'south',border:false" style="height:30px;background:#0d87cc;overflow: hidden;">
    <p style="text-align:center;line-height:30px;margin: 0">数字化中心提供技术支持</p>
</div>
<div data-options="region:'center'">
    <div class="easyui-tabs" data-options="fit:true,border:false,plain:true">
        <div title="首页" data-options="" style="background: #eee;height: 100%;">
            <iframe scrolling="auto" frameborder="0" src="http://localhost/sh/public/girdindex" style="width:100%;height:100%;"></iframe>
        </div>
    </div>
</div>

<script>
    $api.gettree(1);
</script>
<style>
    .tree-file{
        //background-image: url("http://localhost/erp/public/css/icons/folder.png") no-repeat 240 0;
        /*background: url(images/tree_icons.png) no-repeat -240px 0;*/
    }
</style>
</body>
@endsection
